home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 11 / MacAddict_011_1997_07.iso / Software / Apple / MRJ 1.0.2 / MRJ Disk 1 / About MRJ next >
Text File  |  1997-04-16  |  11KB  |  132 lines

  1. About Mac OS Runtime for Java™
  2. Version 1.0.2
  3.  
  4.  
  5.  
  6.  
  7.  
  8. Introduction
  9. Mac OS Runtime for Java (MRJ) is Apple’s implementation of the Java runtime environment based on software from Sun Microsystems, Inc. With MRJ, Mac OS applications can run Java applets and applications.
  10.  
  11. MRJ 1.0.2 implements version 1.0.2 of Sun’s Java. MRJ 1.0.2 includes Apple Applet Runner, a standalone application that runs Java applets, and Apple Applet Viewer, an OpenDoc viewer you use to put Java applets into OpenDoc documents. 
  12.  
  13. MRJ 1.0.2 is a minor upgrade to MRJ 1.0.1 that fixes a bug where some Java applications were not able to save files.
  14.  
  15. IMPORTANT The Applets menu in Apple Applet Runner includes a set of applets provided by Sun Microsystems, Inc. These applets were not created by Apple Computer, Inc. and may not follow Apple guidelines for user interaction. For example, buttons in an applet may have different behavior from buttons in applications developed specifically for the Mac OS.
  16.  
  17. System requirements
  18. MRJ 1.0.2 works on computers with 68030 or 68040 microprocessors or PowerPC microprocessors. You also need System 7.5 or later, a minimum of 8 MB of RAM (16 MB is strongly recommended) and at least 7 MB of free disk space. Computers with 68030 or 68040 microprocessors must have 32-bit addressing turned on. This can be done by using the Memory control panel.
  19.  
  20. The Apple Applet Viewer requires OpenDoc 1.0.4 or later. To get OpenDoc, see the OpenDoc Web page at <http://www.opendoc.apple.com/>. MRJ 1.0.2 and the Apple Applet Runner do not require OpenDoc.
  21.  
  22. Using Java applets over the Internet requires MacTCP 2.0.4 or later, or OpenTransport 1.1 or later with TCP/IP, and an active Internet connection.
  23.  
  24. MRJ 1.0.2 works with Cyberdog 1.2.1 or later. See the Cyberdog Web page at <http://www.cyberdog.apple.com/> for more information.
  25.  
  26. What’s Installed with MRJ?
  27. The MRJ 1.0.2 installer places the required software components in your System Folder. If necessary, the installer will force you to restart your computer before using MRJ.
  28.  
  29. WARNING If you have been using a pre-release version of MRJ, you need to remove files installed with the pre-release version before installing version 1.0.2. Use the list below to check the files you need to remove. However, do not remove the file named “Text Encoding Converter” or the folder named “Text Encodings.” 
  30.  
  31. On all computers, MRJ 1.0.2 installs:
  32. • Mac OS Runtime for Java folder in the Apple Extras folder at the root of the startup disk
  33. • MRJ Libraries folder in the Extensions folder of the active System Folder
  34. • Text Encoding Converter in the Extensions folder of the active System Folder
  35. • Text Encodings folder in the active System Folder
  36.  
  37. If you have a 68030 or 68040 computer, MRJ 1.0.2 also installs:
  38. • CFM-68K Runtime Enabler in the Extensions folder of the active System Folder
  39.  
  40. If you have OpenDoc installed, MRJ 1.0.2 also installs:
  41. • Apple Applet Viewer Libraries in the Editors folder of the active System Folder
  42. • Apple Applet Viewer Stationery in the Stationery folder at the root of the startup disk
  43.  
  44. Using the Apple Applet Runner produces a preferences file named “Apple Applet Runner Prefs” in the Preferences folder of the active System Folder.
  45.  
  46. Description of MRJ Components
  47. MRJ 1.0.2 contains the system components necessary to use Java. It also includes two demonstration tools that use these components to run Java applets.
  48.  
  49. System Components
  50. The MRJ 1.0.2 installer puts a folder named “MRJ Libraries” in the Extensions folder of the active System Folder. This folder contains two items necessary for Java support: MRJLib and the MRJClasses folder.
  51.  
  52. Apple Applet Runner
  53. You use Apple Applet Runner to run Java applets from your local disk. If you have MacTCP or Open Transport installed and an active Internet connection, you can also run Java applets over the Internet. 
  54.  
  55. You can open URLs or local HTML files containing <applet> tags from the Applet Runner’s File menu. In addition, you can drop HTML files containing <applet> tags onto the Apple Applet Runner application icon from the Finder. You will only see the applet itself inside Apple Applet Runner; if you use a Web browser to open the HTML file, you may see additional information.
  56.  
  57. Apple Applet Runner remembers URLs of remote (“http://…”) or local (“file:///…”) applets. This information is stored in the Apple Applet Runner Prefs file in the Preferences folder of the active System Folder. A few sample URLs are are available by choosing Open URL from the File menu; you may add more URLs if you desire. You must have an active Internet connection to use these remote URLs.
  58.  
  59. Demonstration applets are available under the “Applets” menu in Applet Runner. You may run these demonstration applets even if you do not have an active Internet connection. These applets are stored locally in the Applets folder.
  60.  
  61. Apple Applet Viewer (for OpenDoc)
  62. You use Apple Applet Viewer to place Java applets into your OpenDoc documents.
  63.  
  64. A folder called “Apple Applet Viewer” is installed in your Editors folder and the Apple Applet Viewer Stationery file is installed in your Stationery folder. Refer to your OpenDoc documentation for instructions on using stationery.
  65.  
  66. You use Java applets by doing dragging one of the following to the Apple Applet Viewer frame:
  67. 1. An HTML file that contains an <applet> tag, 
  68. 2. A text file that contains a URL for an HTML document containing an <applet> tag, or
  69. 3. A Scrapbook clipping that contains either a URL for an HTML document containing an <applet> tag or an <applet> tag.
  70.  
  71. Note: You must have an active Internet connection to use applets at remote URLs.
  72.  
  73.  
  74. Tips for Using MRJ
  75.  
  76. OpenDoc
  77. If you do not have OpenDoc installed when you install MRJ 1.0.2, the Apple Applet Viewer will not be installed. If you install OpenDoc later, you must reinstall MRJ to use the Applet Viewer.
  78.  
  79. Memory Usage
  80. MRJ uses system memory to run Java applets and applications. Applications allocate their own application memory, leaving less memory available to the system. If an application that uses MRJ (such as the Applet Runner or Cyberdog) is using an especially large amount of memory, you may have trouble running large Java applets or applications. If you encounter problems, try quitting applications you aren’t using. If you still cannot run the applet or application, try reducing the amount of memory used by the application that is using MRJ. To reduce an application’s memory size, first quit the application, then select the application’s icon and choose Get Info from the File menu. Type a smaller number in the Preferred Size field. (However, do not set the preferred size smaller than the indicated minimum size).
  81.  
  82. Known Problems
  83. • You must restart your computer after installing MRJ. If you attempt to run MRJ without restarting, MRJ may behave in unexpected ways.
  84.  
  85. • Do not remove the Text Encodings folder from the System Folder or the Text Encoder Converter file from the Extensions folder. Removing these items may cause problems while using MRJ or using other applications requiring these files.
  86.  
  87. • In pre-release versions of MRJ, the preferences file was named “Applet Runner Prefs.” If you had a pre-release version of MRJ installed, make sure you throw the “Applet Runner Prefs” file away. (The old file may conflict with preference files created by applet runner applications from other companies.)
  88.  
  89. • There is a known problem with the PPCExceptionEnabler extension. This extension is installed by Macintosh Common Lisp (MCL) 3.9. If you have this extension, you must remove it before running MRJ. Future versions of MCL will not require this extension.
  90.  
  91. • There are known problems with some applets when using MRJ 1.0.2 with Microsoft Internet Explorer, including display problems, sound problems and possible crashes. We are working with Microsoft to resolve these problems in a future release of Internet Explorer.
  92.  
  93. • If you are running applications or applets compiled with the JavaSoft 1.0.2 JDK release for Macintosh, you may encounter numerics-related problems. Specifically, floating-point constants (and in some cases computed integer constants) may not be accurate. If possible, use another Java compiler to recompile any applications or applets displaying this problem.
  94.  
  95. • If all the images and sounds an applet uses don’t appear, there may not be enough memory available for all the images and sounds. You may be able to free up memory by quitting all applications (such as the Apple Applet Runner and Apple Applet Viewer) that use MRJ. If necessary, try quitting other applications as well. After quitting the applications, try reopening Apple Applet Runner or Apple Applet Viewer. See Memory Usage above for additional information.
  96.  
  97. • Some Java applets (such as Clock) or applications that are processor intensive may cause other applets to open or run slowly, or may cause them not to open at all. To improve performance, try closing applets or applications that you are not using.
  98.  
  99. • The Apple Applet Viewer does not report some errors. If an applet does not open in Apple Applet Viewer, try opening it with Apple Applet Runner to see if an error message appears.
  100.  
  101. Further Information and Reporting Problems
  102. See our Web site at <http://applejava.apple.com/> to find out about future releases of Mac OS Runtime for Java or get information on how to report problems with the software.
  103.  
  104. Other Applets on the Internet
  105. There are thousands of applets available on the Internet. Two good starting points for finding applets are:
  106. • <http://www.javasoft.com/>
  107. • <http://www.gamelan.com/>
  108.  
  109. Software Development Kit Available
  110. A software development kit (SDK) is available for MRJ 1.0.2. The MRJ SDK includes interfaces to the runtime environment that allow software developers to:
  111.  
  112. • run Java applets and applications within a Macintosh application
  113. • access the Java runtime from a Macintosh application
  114. • call Java methods from C and C++
  115. • call native methods from Java
  116. • build standalone Java applications
  117.  
  118. The SDK also includes a utility to run Java applications.
  119.  
  120. See our Web site at <http://applejava.apple.com/> to get the MRJ SDK.
  121.  
  122. Java not Fault-tolerant
  123. The Java technology is not fault-tolerant and is not designed, manufactured or intended for use or resale as on-line control equipment in the operation of nuclear facilities, aircraft navigation or communication systems, or air traffic control machines in which the failure of the Java technology or Mac OS Runtime for Java could lead directly to death, personal injury, or severe physical or environmental damage.
  124.  
  125.  
  126. © 1995-1997 Apple Computer. Inc. All rights reserved. 
  127. Apple, the Apple logo, MacTCP and Mac are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. PowerPC is a trademark of International Business Machines Corporation, used under license therefrom. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All other product names are trademarks or registered trademarks of their respective holders. Mention of non-Apple products is for information purposes and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance, or use of these products.
  128.  
  129. Updated April 16, 1997
  130.  
  131. 210